<template>
  <div>
    <van-tabbar v-model="active" route>
      <van-tabbar-item to="/films"  icon="home-o">电影</van-tabbar-item>
      <van-tabbar-item to="/cinema"  icon="search">影院</van-tabbar-item>
      <van-tabbar-item to="/news"  icon="friends-o">资讯</van-tabbar-item>
      <van-tabbar-item to="/center"  icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
}
</script>
<style lang="scss">
</style>
